package com.sunyard.wx.demo.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * Created by xi.w on 2018-04-17.
 */
@RestController
public class HelloWorldController {

    @GetMapping("/hello")
    public String helloworld(HttpServletRequest request, HttpServletResponse response){

        return "helloworld";
    }
}
